package com.mac.pojo;

import java.sql.Date;

/**
 * 创建合作与交流表 Collaborations 实体类
 * 包含合作与交流信息
 */
public class Collaborations {

    // 合作唯一标识，自增主键
    private Integer collaborationId;

    // 合作标题，不能为空
    private String title;

    // 合作描述
    private String description;

    // 合作伙伴
    private String partner;

    // 合作开始日期
    private Date startTIme;

    // 合作结束日期
    private Date endTime;

    public Collaborations() {
    }

    public Collaborations(Integer collaborationId, String title, String description, String partner, Date startTIme, Date endTime) {
        this.collaborationId = collaborationId;
        this.title = title;
        this.description = description;
        this.partner = partner;
        this.startTIme = startTIme;
        this.endTime = endTime;
    }

    public Integer getCollaborationId() {
        return collaborationId;
    }

    public void setCollaborationId(Integer collaborationId) {
        this.collaborationId = collaborationId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPartner() {
        return partner;
    }

    public void setPartner(String partner) {
        this.partner = partner;
    }

    public Date getStartTIme() {
        return startTIme;
    }

    public void setStartTIme(Date startTIme) {
        this.startTIme = startTIme;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "Collaborations{" +
                "collaborationId=" + collaborationId +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", partner='" + partner + '\'' +
                ", startTIme=" + startTIme +
                ", endTime=" + endTime +
                '}';
    }
}
